Imports System.Collections.Generic
Imports System.Web.Services
Imports System.Web.Services.Protocols
Imports System.ComponentModel
Imports System.Web
Imports System.Web.Script.Services

Partial Public Class VendorSearch
    Inherits BasePage

    Protected Sub Page_Load(ByVal sender As Object, ByVal e As System.EventArgs) Handles Me.Load
        Me.Title = "ITracker: Vendor Search"
        lblPageHeader.Text = "Vendor Search: "
    End Sub

    <ScriptMethod(ResponseFormat:=ResponseFormat.Json)> _
    <WebMethod()> _
    Public Shared Function GetDataForGrid(ByVal a As String) As List(Of Vendor)
        Dim _id As New Guid()
        Return Vendor.Search(a)
    End Function

End Class